<template>
  <div class="hello">
    <HomeHeader></HomeHeader>
    <HomeSwiper></HomeSwiper>
    <HomeIcons></HomeIcons>
    <HomeRecommend></HomeRecommend>
     <homeWeekend></homeWeekend>
  </div>
</template>
<script>
import HomeHeader from "./templates/temHeader";
import HomeSwiper from "./templates/temSwiper";
import HomeIcons from "./templates/temIcons";
import HomeRecommend from "./templates/temRecommend";
import homeWeekend from "./templates/temWeekend";
export default {
  name: "Header",
  components: {
    HomeHeader,
    HomeSwiper,
    HomeIcons,
    HomeRecommend,
    homeWeekend
  },
methods: {
  getHomeInfo(){
axios.get('/api/index.json')
.then(this.getHomeInfoSucc)
  },
 getHomeInfoSucc(res){
   console.log(res)
 }
},
  mounted () {
    this.getHomeInfo
  },
  data() {
    return {};
  }
};
</script>
<style></style>
